      <div class="right side" id="side">
          <div class="s_about">
              <div class="hd">
                <h2>栏目</h2>
              </div>  
              
              <div class="bd">
                <ul>
                    {% if oneTree then %}
		                 {% for _, v in pairs(oneTree) do %} 
		                       <li><a href="/index/type?id={{v['id']}}"  title="{{v['typename']}}">{{v['typename']}}</a></li> 
		                             {% if v['child'] then %}
		                                 {% for key, val in pairs(v['child']) do %} 
					                    	<li><a href="/index/type?id={{val['id']}}"  title="{{val['typename']}}">&nbsp;&nbsp;●&nbsp;&nbsp;&nbsp;&nbsp;{{val['typename']}}</a></li>
					                     {% end %}
					                 {% end %}
					       {% end %}
	                {% end %}
				</ul>
			 </div>
          </div>
          
          <!--栏目分类-->
           <div class="category">
              <div class="hd">
                  <h2>博主推荐</h2>
              </div>
              <div class="bd">
                <ul> 
                    {% if recom then %}
		                    {% for key, val in pairs(recom) do %} 
					            <li><a href="/index/article?id={{val['id']}}"   title="{{val['title']}}">{{val['title']}}</a></li>
					         {% end %}
				    {% end %}
					  
				</ul>      
              </div>
           </div>
           <!--end-->
           
           <div class="link">
	           <div class="hd">
	            <h2>友情链接</h2>
	           </div>
	            
	            <div class="bd">
                 <p><a href="http://www.baidu.com">个人博客</a></p> 
                </div>
           </div>
   </div>